package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Permission;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface PermissionMapper {

    int insert(Permission record);

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    int updateByPrimaryKey(Permission record);

    Integer selectForCount(QueryObject qo);

    List<?> selectForList(QueryObject qo);

    List<String> queryAllExpressions();

    List<String> selectExpressionByEmployeeId(Long employeeId);
}